<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="三联表单" bodyClass="white-bg" libs=["bootstrapSelect"]/>
<style type="text/css">
    .yuanshishuju1{
        width: 90%;
        margin: 0 auto;
    }
    .overstriking{
        font-weight: bolder;
        text-align: center;
    }
</style>
<div class="yuanshishuju1">
    <@f.form id="task-form-complete" class="form-horizontal">
    <table class="table table-bordered table-hover">
        <tr>
            <td colspan="3" class="overstriking">委托单号</td>
            <td colspan="6"></td>
            <td colspan="4" class="overstriking">样品名称</td>
            <td colspan="8"></td>
            <td colspan="7" class="overstriking">实验环境</td>
            <td colspan="12">
                <span>温度</span>
                <span>__℃,</span>
                <span>RH __ %</span>
            </td>
        </tr>
        <tr>
            <td colspan="3" class="overstriking">样品编号</td>
            <td colspan="6"></td>
            <td colspan="4" class="overstriking">水泥品种</td>
            <td colspan="8"></td>
            <td colspan="7" class="overstriking">送样日期</td>
            <td colspan="12">2021年7月5日</td>
        </tr>
        <tr>
            <td colspan="3" rowspan="1" class="overstriking">实 验 前<br>样品状态</td>
            <td colspan="6" rowspan="1"></td>
            <td colspan="4" rowspan="1" class="overstriking">强度等级</td>
            <td colspan="8" rowspan="1">42.5</td>
            <td colspan="7" rowspan="1" class="overstriking">实验日期</td>
            <td colspan="12" rowspan="1">       年   月   日~   月   日</td>
        </tr>
        <tr>
            <td colspan="1" rowspan="5" class="overstriking">检验依据</td>
        </tr>
        <tr>
            <td colspan="2" rowspan="3" class="overstriking">产品标准</td>
        </tr>
        <tr>
            <td colspan="37" rowspan="1">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" value="">
                        GB 175-2007（2018版）
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB 2938-2008
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB 25029-2010
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 201-2015
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2015-2017
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 3183-2017
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 13693-2017
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        JC/T 311-2004
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB 20472-2006（限快硬型）
                    </label>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="37" rowspan="1">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" value="">
                        GB 175-2007（2018版）
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB 2938-2008
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB 25029-2010
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 201-2015
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2015-2017
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 3183-2017
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 13693-2017
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        JC/T 311-2004
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB 20472-2006（限快硬型）
                    </label>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2" rowspan="1" class="overstriking">检验方法</td>
            <td colspan="37" rowspan="">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" value="">
                        GB/T 1346-2011
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 1345-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 208-2014
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 8074-2008
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2419-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 17671-1999
                    </label>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="3" rowspan="1" class="overstriking">主检仪器名称及编号</td>
            <td colspan="34" rowspan="1">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" value="">
                        GB/T 1346-2011
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 1345-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 208-2014
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 8074-2008
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2419-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 17671-1999
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2419-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 17671-1999
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2419-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 17671-1999
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 2419-2005
                    </label>
                    <label>
                        <input type="checkbox" value="">
                        GB/T 17671-1999
                    </label>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="18" class="overstriking">5、水泥密度</td>
            <td colspan="22">测试日期：      年      月     日</td>
        </tr>
        <tr>
            <td colspan="1" rowspan="1" class="overstriking">实验次数</td>
            <td colspan="3" rowspan="1" class="overstriking">温度(℃)</td>
            <td colspan="4" rowspan="1" class="overstriking">试样质量(g)</td>
            <td colspan="6" rowspan="1" class="overstriking">装入李氏瓶的试样质量(g)</td>
            <td colspan="4" rowspan="1" class="overstriking">第一次读数(cm³)</td>
            <td colspan="5" rowspan="1" class="overstriking">第二次读数(cm³)</td>
            <td colspan="4" rowspan="1" class="overstriking">试样体积(cm³)</td>
            <td colspan="3" class="overstriking">密度(g/cm³)</td>
            <td colspan="3" class="overstriking">平均值(g/cm³)</td>
        </tr>
        <tr>
            <td colspan="1" rowspan="1" class="overstriking">1</td>
            <td colspan="3" rowspan="1">20</td>
            <td colspan="4" rowspan="1">60.4</td>
            <td colspan="6" rowspan="1">/</td>
            <td colspan="4" rowspan="1">0.6</td>
            <td colspan="5" rowspan="1">19.5</td>
            <td colspan="4" rowspan="1">18.9</td>
            <td colspan="3">3.2</td>
            <td colspan="3" rowspan="2">3.22</td>
        </tr>
        <tr>
            <td colspan="1" rowspan="1" class="overstriking">2</td>
            <td colspan="3" rowspan="1">20</td>
            <td colspan="4" rowspan="1">60.5</td>
            <td colspan="6" rowspan="1">/</td>
            <td colspan="4" rowspan="1">0.8</td>
            <td colspan="5" rowspan="1">19.4</td>
            <td colspan="4" rowspan="1">18.6</td>
            <td colspan="3">3.25</td>
        </tr>
        <tr>
            <td colspan="18" class="overstriking">6、比表面积</td>
            <td colspan="22">测试日期：      年      月     日</td>
        </tr>
        <tr>
            <td colspan="4"></td>
            <td colspan="3" class="overstriking">温度(℃)</td>
            <td colspan="5" class="overstriking">密度(g/cm³)</td>
            <td colspan="5" class="overstriking">试料层的空隙率</td>
            <td colspan="5" class="overstriking">试验温度下的空气粘度（Pa·s）</td>
            <td colspan="4" class="overstriking">液面跌落时间（t）</td>
            <td colspan="5" class="overstriking">比表面积（cm2/g）</td>
            <td colspan="2" class="overstriking">平均值（cm2/g）</td>
        </tr>
        <tr>
            <td colspan="4" class="overstriking">标准试样</td>
            <td colspan="3">18</td>
            <td colspan="5">3.16</td>
            <td colspan="5">0.531</td>
            <td colspan="5">/</td>
            <td colspan="4">60.3</td>
            <td colspan="5">3280</td>
            <td colspan="2">/</td>
        </tr>
        <tr>
            <td colspan="4" class="overstriking">被测试样1</td>
            <td colspan="3" rowspan="2">19</td>
            <td colspan="5" rowspan="2">3.25</td>
            <td colspan="5" rowspan="2">0.532</td>
            <td colspan="5" rowspan="2">/</td>
            <td colspan="4">61.3</td>
            <td colspan="5">3262</td>
            <td colspan="2" rowspan="2">3264</td>
        </tr>
        <tr>
            <td colspan="4" class="overstriking">被测试样2</td>
            <td colspan="4">61.5</td>
            <td colspan="5">3267</td>
        </tr>
        <tr>
            <td colspan="18" class="overstriking">7、胶砂流动度</td>
            <td colspan="22">测试日期：      年      月     日</td>
        </tr>
        <tr>
            <td colspan="8" class="overstriking">用水量（mL）</td>
            <td colspan="4" class="overstriking">水灰比</td>
            <td colspan="16" class="overstriking">相互垂直两个方向直径（mm）</td>
            <td colspan="5" class="overstriking">胶砂流动度平均值（mm）</td>
        </tr>
        <tr>
            <td colspan="8">150</td>
            <td colspan="4">1:02</td>
            <td colspan="9">170</td>
            <td colspan="7">165</td>
            <td colspan="5"></td>
        </tr>
        <tr>
            <td colspan="12" class="overstriking"> 8、水泥胶砂强度试验   </td>
            <td colspan="21" class="overstriking">备注：胶砂强度试件于       年    月    日     h    min制作</td>
        </tr>
        <tr>
            <td colspan="3" rowspan="2" class="overstriking">龄期（d）</td>
            <td colspan="5" rowspan="2" class="overstriking">试压日期</td>
            <td colspan="8" class="overstriking">抗折强度（MPa）</td>
            <td colspan="17" class="overstriking">抗压强度</td>
        </tr>
        <tr>
            <td colspan="6" class="overstriking">抗折强度(MPa)</td>
            <td colspan="2" class="overstriking">平均值</td>
            <td colspan="9" class="overstriking">破坏荷载（kN）</td>
            <td colspan="7" class="overstriking">破坏强度（MPa）</td>
            <td colspan="1" class="overstriking">平均值</td>
        </tr>
        <tr>
            <td colspan="3" rowspan="2">28</td>
            <td colspan="5" rowspan="2"></td>
            <td colspan="1" rowspan="2"></td>
            <td colspan="3" rowspan="2"></td>
            <td colspan="2" rowspan="2"></td>
            <td colspan="2" rowspan="2"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="1"></td>
            <td colspan="3"></td>
            <td colspan="1" rowspan="2"></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="1"></td>
            <td colspan="3"></td>
        </tr>
        <tr>
            <td colspan="3" rowspan="2">3</td>
            <td colspan="5" rowspan="2"></td>
            <td colspan="1" rowspan="2"></td>
            <td colspan="3" rowspan="2"></td>
            <td colspan="2" rowspan="2"></td>
            <td colspan="2" rowspan="2"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="1"></td>
            <td colspan="3"></td>
            <td colspan="1" rowspan="2"></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="3"></td>
            <td colspan="1"></td>
            <td colspan="3"></td>
        </tr>
    </table>
    <div class="row" style="text-align: center; margin-top: 20px;" id="_addTab">
        <!--<button type="button" class="btn btn-sm btn-primary" onclick="opt.form.submit()"><i class="fa fa-check"></i><@ctx.i18n text = "保存"/></button>&nbsp;-->
        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i><@ctx.i18n text = "保存"/></button>&nbsp;
        <button type="button" class="btn btn-sm btn-danger" onclick="opt.modal.closeTab()"><i class="fa fa-reply-all"></i><@ctx.i18n text = "关闭"/></button>
    </div>
</div>
</@f.form>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "pms/entry";

    $('#tipBut button').click(function(){
        $('#comment').text($(this).text())
    });

    $("#task-form-complete").validate({
        focusCleanup: true
    });

    function submitHandler() {

        //  var arrivalAmount= parseFloat($('input[name="arrivalAmount"]').val());
        //  var claimAmount= parseFloat($('input[name="claimAmount"]').val());
        //  console.log(arrivalAmount);
        //  console.log(claimAmount);
        //  console.log(claimAmount>arrivalAmount);
        // if(claimAmount>arrivalAmount){
        //   //  alert("已认领金额不能大于到账金额");
        //   return  opt.modal.alertWarning("已认领金额不能大于到账金额");
        // }

        if (opt.validate.form()) {
            opt.operate.saveTab(prefix + "/add", $('#task-form-complete').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>